package com.ruoyi.data.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户md5列业务对象 data_md5
 *
 * @author ruoyi
 * @date 2023-12-06
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class DataMd5Bo extends BaseEntity {

    /**
     *
     */
    private Long dataMd5Id;


    private String sourceType;


    @NotBlank(message = "用户数据", groups = { AddGroup.class, EditGroup.class })
    private String userData;

    /**
     * 小写
     */
    @NotBlank(message = "小写不能为空", groups = { AddGroup.class, EditGroup.class })
    private String smallMd5;

    /**
     * 大写
     */
    @NotBlank(message = "大写不能为空", groups = { AddGroup.class, EditGroup.class })
    private String bigMd5;

    /**
     * 用户id
     */
    private Long userId;


}
